package com.hctforgreen.greenservice.model;

import org.json.JSONException;
import org.json.JSONObject;

import android.text.TextUtils;

/**
 * 新闻
 * 
 * @author denghb
 * 
 */
public class NewsEntity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 0x101L;

	public static NewsEntity parseJson(String json) {
		if (TextUtils.isEmpty(json)) {
			return null;
		}
		NewsEntity entity = new NewsEntity();
		try {
			JSONObject jsonObject = new JSONObject(json);
			if (jsonObject.has("")) {
//				entity._id = jsonObject.getString("");

			}

		} catch (Exception e) {
			e.printStackTrace();
		}

		return entity;
	}
}
